package com.sright.bcard.content.dal.dao.impl;


import com.sright.bcard.common.service.share.base.dao.BaseDAOImpl;
import com.sright.bcard.common.service.share.base.dao.BaseMapper;
import com.sright.bcard.content.dal.dao.TranscodeDAO;
import com.sright.bcard.content.dal.entity.TranscodeDO;
import com.sright.bcard.content.dal.mapper.TranscodeDOMapper;
import org.springframework.stereotype.Repository;

import javax.annotation.Resource;

@Repository
public class TranscodeDAOImpl extends BaseDAOImpl<TranscodeDO> implements TranscodeDAO {

    @Resource
    private TranscodeDOMapper transcodeDOMapper;

    @Override
    public TranscodeDO selectByJobId(String jobId) {
        return transcodeDOMapper.selectByJobId(jobId);
    }

    @Override
    protected BaseMapper<TranscodeDO> getObjMapper() {
        return transcodeDOMapper;
    }
}
